<div class="panel panel-default panel-intro">

    <!-- <div class="panel-heading">
        {:build_heading(null,FALSE)}
        <ul class="nav nav-tabs" data-field="status">
            <li class="{:$Think.get.status === null ? 'active' : ''}"><a href="#t-all" data-value=""
                    data-toggle="tab">{:__('All')}</a></li>
            {foreach name="statusList" item="vo"}
            <li class="{:$Think.get.status === (string)$key ? 'active' : ''}"><a href="#t-{$key|htmlentities}" data-value="{$key|htmlentities}"
                    data-toggle="tab">{$vo|htmlentities}</a></li>
            {/foreach}
        </ul>
    </div> -->

    <div class="panel-heading">
        {:build_heading(null,FALSE)}
        <ul class="nav nav-tabs nav-custom-condition">
            <li class="active"><a href="#t-all" data-value="flow" data-toggle="tab">{:__('All')}</a></li>
            <li class=""><a href="#t-1" data-value='flow' data-toggle="tab">流程表</a></li>
            <li class=""><a href="#t-2" data-value='flowsub' data-toggle="tab">流程子表</a></li>
        </ul>
    </div>


    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i
                                class="fa fa-refresh"></i> </a>
                        <a href="javascript:;"
                            class="btn btn-success btn-add-flow {:$auth->check('csmitsm/xcflow/add')?'':'hide'}">新增流程</a>
                            <a href="javascript:;"
                            class="btn btn-warning btn-add-flowsub {:$auth->check('csmitsm/xcflow/add')?'':'hide'}">新增流程的子表</a>    
                        <a href="javascript:;" id="btn-xcflowgroup"
                            class="btn btn-danger {:$auth->check('csmitsm/xcflow_group/index')?'':'hide'}">工单分组管理</a>
                     

                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                        data-operate-edit="{:$auth->check('csmitsm/xcflow/edit')}"
                        data-operate-del="{:$auth->check('csmitsm/xcflow/del')}" width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>

</div>